package com.example.archivemanagement.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("sys_archive")
public class Archive {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String archiveNumber;

    private String category;

    private String securityLevel;

    private String fileType;

    private String fileSize;

    private String filePath;

    private String description;

    private Long uploadUserId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableLogic
    private Integer deleted;

    @TableField(exist = false)
    private String uploadUserName;
} 